package com.sea.finance.service;


import com.sea.finance.entity.Payment;
import com.sea.finance.entity.PaymentAgain;

import java.io.InputStream;
import java.util.List;

/**
 * @author 陈鸿飞
 */
public interface PaymentAgainService {

    /**
     * 查询指定
     * @param paymentAgain
     * @return
     */
    List<PaymentAgain> findByCnd(PaymentAgain paymentAgain);

    /**
     * 新增
     * @param paymentAgain
     * @return
     */
    int save(PaymentAgain paymentAgain);

    void importPayment(InputStream inputStream, String fileName) throws Exception;
    /**
     * 查询指定
     * @param paymentAgain
     * @return
     */
    PaymentAgain findBySkuChannel(PaymentAgain paymentAgain);

}
